﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />

<div class="modal-dialog x-modal-dialog" style="width: 1200px; margin-top: 100px;">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal">
        <span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
      </button>
      <h4 class="modal-title"><fmt:message key="assessor.379"/></h4>
    </div>
    <div class="row">
        <div class="col-xs-12">
          <table class="table ihg-table overall-advantage-table" style="margin-top: 15px; border-bottom: 1px solid #D45F16;">
            <thead style="border-top: 2px solid #D45F16;">
              <tr>
                <th style="text-align: left;"><fmt:message key="assessor.409" /></th>
                <th style="text-align: left;"><fmt:message key="assessor.410" /></th>
                <th style="width: 350px; text-align: left;"><fmt:message key="assessor.411" /></th>
                <th style="width: 350px; text-align: left;"><fmt:message key="assessor.412" /></th>
                <th style="text-align: left;"><fmt:message key="assessor.413" /></th>
                <th style="text-align: left;"><fmt:message key="assessor.414" /></th>
              </tr>
            </thead>
            <tbody>
              <c:forEach var="calibrationCompetencie" items="${sessionCalibrationCompetencies}">
                <tr>
                  <td style="height: 100px; text-align: left;">${calibrationCompetencie.name}</td>
                  <td style="text-align: left;">${calibrationCompetencie.score.description}</td>
                  <td style="text-align: left;">
                    <c:forEach var="anchorScore" items="${anchorScores[calibrationCompetencie.name]['strong']}">
                      <p>
                        <a href="javascript:void(0);"><fmt:message key="${anchorScore.anchor.competencyName}.name" /></a>
                         | <fmt:message key="${anchorScore.anchor.competencyName}.${anchorScore.score.lowAlias}" />
                      </p>
                    </c:forEach>
                  </td>
                  <td style="text-align: left;">
                    <c:forEach var="anchorScore" items="${anchorScores[calibrationCompetencie.name]['weak']}">
                      <p>
                        <a href="javascript:void(0);"><fmt:message key="${anchorScore.anchor.competencyName}.name" /></a>
                         | <fmt:message key="${anchorScore.anchor.competencyName}.${anchorScore.score.lowAlias}" />
                      </p>
                    </c:forEach>
                  </td>
                  <td style="text-align: left;">${calibrationCompetencie.effective}</td>
                  <td style="text-align: left;">${calibrationCompetencie.inEffective}</td>
                </tr>
              </c:forEach>
            </tbody>
          </table>
        </div>
      </div>
  </div>
</div>